package com.jxy.bean.attribute;

import com.jxy.bean.ClassFile;
import com.jxy.tool.Tool;

import java.io.DataInputStream;
import java.util.Arrays;

public class AttributeLineNumberInfo extends AttributeInfo {
    private AttributeLineNumber[] lineNumbers;

    public AttributeLineNumberInfo(DataInputStream dis, ClassFile cf) {
        super(dis, cf);
        lineNumbers = Tool.AttributeLineNumber(dis, cf);
    }

    @Override
    public String toString() {
        return "AttributeLineNumberInfo{" +
                "lineNumbers=" + Arrays.toString(lineNumbers) +
                '}';
    }
}
